<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="t" tagdir="/WEB-INF/tags"%>
<%@taglib prefix="user" uri="/WEB-INF/tags/ErrorTag.tld"%>

<t:basicTemplate pageTitle="SWIMv2 - Home">
	<jsp:attribute name="extrahead">
	<link rel='stylesheet' href='css/home.css' type='text/css' />
    </jsp:attribute>

	<jsp:body>
		
		<h1 class="titleFont">Welcome to Swim<span
				class="titleFontSecondpart">V2 site! </span> </h1>
		
		<!-- error container -->
		<div class="error-style">
				<user:errors error="${param.error}"></user:errors>
		</div>
		
		<!-- research  -->
		<%@include file="search/SearchForm.jsp"%>
		
		<!-- Site Comment -->
		
		<div id="logo">
			<img alt="swknights Logo" src="img/logosw.svg" width="90%"
				height="90%" />
			<p>SWIMv2 is a &quot;Network of Friend&quot; based on the Small World Hypothesis.
			<br />
			You can exchange your help with your friends, meet a lot of nice people and enjoy the quality of swKnights software ;)
			<br />
			swKnights: In Code we Trust!</p>
		</div>
		
		<!-- login form -->
		<div id="login">		
			<form class="form-signin" method="POST" action="loginAttempt"
				id="login">
				<h2 class="form-signin-heading">Join Here</h2>
			
				<input type="text" name="username" placeholder="username"><br />
		 		<input type="password" name="password" placeholder="password"><br />
			
				<input class="login-button-style" type="submit" value="Submit"
					name="B1">	
			</form>
			
			<p>Not registered yet?<a href="./registration" id="register_link">Click_Here</a>
			</p>
		</div>
		
		
    </jsp:body>
</t:basicTemplate>